package com.oil.petro.eshop.dao;

import com.oil.petro.eshop.entity.Category;
import com.oil.petro.eshop.entity.Manufacturer;
import java.util.List;
import org.springframework.stereotype.Repository;

public interface CategoryDAO {

    public Category get(int id);

    public void delete(Category category);

    public int save(Category category);

    public void update(Category category);

    public List<Category> getList();

    int getId(String name);
}
